{%if users.get_current_user%}
{%if users.is_current_user_admin%}

		<div class="newbox">
			
				<p class="desc"><span style="color:red;">Action Panel</span></p>
				<p class="link"><em>
						<a href="{%url blog.views.add_post%}">新增文章</a><br>
					{%if post%}
						<a href="{%url blog.views.edit_post post.key%}">编辑当前文章</a><br>
						<a href="{%url blog.views.delete_post post.key%}" onclick="{if(confirm('确定要删除当前文章吗?')){return true;}return false;}">删除当前文章</a>
					{%endif%} 
				</em></p>
		</div>

{%endif%}
{%endif%}

{%if not form%}
	{%include 'gfc_bar.html'%}	
	<div class="newbox">
		<div class="desc">Douban <span style="color:red;">[new!]</span></div>
		<div class="link"><em>
			<a target="_blank" href="http://www.douban.com/people/3069062/">我的豆瓣主页</a>
		</em></div>
	</div>
	<script type="text/javascript" src="http://www.douban.com/service/badge/3069062/?show=collection&amp;n=6&amp;columns=2&amp;hidelogo=yes&amp;hideself=yes&amp;cat=book" ></script>
	
	{%include 'gfc_bar_comment.html'%}	
	
{%endif%}